package com.example.homework;

public  enum CalculatorOperator {
    CLEAR,
    PERCENT,
    ADD{
        @Override
        public char getOperator() {
            return '+';
        }
    },
    SUB{
        @Override
        public char getOperator() {
            return '-';
        }
    },
    MU{
        @Override
        public char getOperator() {
            return '*';
        }
    },
    DIV{
        @Override
        public char getOperator() {
            return '÷';
        }
    },
    EQUALS;
    public char getOperator(){
   return  0;
    }

}
